/**
 * @file common_ability.cpp
 * @author Kun (kun_g@msn.com)
 * @brief  容器的共通能力和共通操作
 * @version 0.1
 * @date 2024-06-10
 *
 * @copyright Copyright (c) 2024
 *
 */

#include <array>
#include <deque>
#include <forward_list>
#include <iostream>
#include <list>
#include <map>
#include <set>
#include <unordered_map>
#include <unordered_set>
#include <vector>

using namespace std;

int main() {
  {
    /**
     * @brief 容器初始化
     *
     * - ContType c
     * - ContType c(c2)
     * - ContType c(rv)
     * - ContType c = rv
     * - ContType c(beg,end)
     * - ContType c(init_list)
     * - ContType c = init_list
     *
     */
    vector<int> v1;
    vector<int> v2(v1);
    vector<int> v3 = v2;
    vector<int> v4(std::move(v3));
    vector<int> v5 = std::move(v4);
    vector<int> v6{1, 2, 3, 4, 5};
    vector<int> v7(v6.begin(), v6.end());
    vector<int> v8 = {1, 2, 3, 4, 5};
    vector<int> v9(10, 0);
    vector<int> v10(v9.size(), 0);

    double d1 = double();
  }
  return 0;
}
